const path = require('path')
const customVant = path.resolve(__dirname, './src/styles/vantChange.less')

module.exports = {
  css: {
    loaderOptions: {
      less: {
        // 若 less-loader 版本小于 6.0，请移除 lessOptions 这一级，直接配置选项。
        modifyVars: {
          hack: `true; @import "${customVant}";`
        }
      }
    }
  }
}
